package com.guigu.buy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String userName;

    private String userAccount;

    private String userPassword;

    private String userImage;

    private String userPhone;

    private String userProvince;

    private String userCity;

    private String userAddr;

    private String userCard;

    private Long userBalance;

    private String userBankCard;

    private Integer userMechant;

    private Integer userApplier;

    private Integer userStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String realName;

    private String sex;

    private LocalDate birth;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserAddr() {
        return userAddr;
    }

    public void setUserAddr(String userAddr) {
        this.userAddr = userAddr;
    }

    public String getUserCard() {
        return userCard;
    }

    public void setUserCard(String userCard) {
        this.userCard = userCard;
    }

    public Long getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(Long userBalance) {
        this.userBalance = userBalance;
    }

    public String getUserBankCard() {
        return userBankCard;
    }

    public void setUserBankCard(String userBankCard) {
        this.userBankCard = userBankCard;
    }

    public Integer getUserMechant() {
        return userMechant;
    }

    public void setUserMechant(Integer userMechant) {
        this.userMechant = userMechant;
    }

    public Integer getUserApplier() {
        return userApplier;
    }

    public void setUserApplier(Integer userApplier) {
        this.userApplier = userApplier;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public LocalDate getBirth() {
        return birth;
    }

    public void setBirth(LocalDate birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        return "Customer{" +
            "id = " + id +
            ", userName = " + userName +
            ", userAccount = " + userAccount +
            ", userPassword = " + userPassword +
            ", userImage = " + userImage +
            ", userPhone = " + userPhone +
            ", userProvince = " + userProvince +
            ", userCity = " + userCity +
            ", userAddr = " + userAddr +
            ", userCard = " + userCard +
            ", userBalance = " + userBalance +
            ", userBankCard = " + userBankCard +
            ", userMechant = " + userMechant +
            ", userApplier = " + userApplier +
            ", userStatus = " + userStatus +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", realName = " + realName +
            ", sex = " + sex +
            ", birth = " + birth +
        "}";
    }
}
